package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.entities.BasePage;
import com.ttg.model.pojo.PeopleHistory;
import com.ttg.model.vo.PeopleHistoryVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

public interface PeopleHistoryMapper extends BaseMapper<PeopleHistory> {
    BasePage<PeopleHistoryVo> getHistoryList(@Param("page") BasePage<PeopleHistoryVo> page,
                                             @Param("pepId") Integer pepId,
                                             @Param("hisStatus") Integer hisStatus,
                                             @Param("startTime") LocalDateTime startTime,
                                             @Param("endTime") LocalDateTime endTime);
}
